package com.eight.cloud.admin.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.eight.cloud.mybatisplus.entity.TenantDataScopeEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * app信息表
 *
 * @ClassName: AppEntity
 * @Author TXC
 * @Date 2025-01-07 17:34
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("sys_admin_app")
public class AppEntity extends TenantDataScopeEntity<AppEntity> {

    /**
     * app名称
     */
    @TableField("name")
    private String name;

    /**
     * app类型
     */
    @TableField("type")
    private Integer type;

    /**
     * 描述
     */
    @TableField("description")
    private String description;

    /**
     * secret_id
     */
    @TableField("secret_id")
    private String secretId;

    /**
     * secret_key
     */
    @TableField("secret_key")
    private String secretKey;

    /**
     * 租户公钥
     */
    @TableField("public_key")
    private String publicKey;

    /**
     * 租户私钥
     */
    @TableField("private_key")
    private String privateKey;
}
